import Footer from '@/components/Footer/indes'
import { IRouteComponentProps } from 'umi'
import Header from '../components/Header/index'

export default function Layout({ children, location, route, history, match }: IRouteComponentProps) {
  return <div className="wrapper">
    <header>
      <Header />
    </header>
    <main>
      <div className="content">
        <div className="container">
          {children}
        </div>
        <footer>
          {/* 通用底部 */}
          <Footer></Footer>
        </footer>
      </div>
    </main>
  </div>
}
